<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="4; url=http://localhost:8089/mainpage_login.jsp">
<title>跳转</title>
</head>
<body>
    <p>登陆成功，3秒后跳转到主页</p>
    <div id="timecount">倒计时开始</div>
    <script type="text/javascript">
    var times = 3;
	setInterval(function(){
		document.getElementById('timecount').innerHTML = times + "秒";
		times --;
	},1000);
    </script>
</body>
</html>